package com.ophiux.cs.application.chat.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.utils.common.StringUtil;
/**
 * 获取聊天消息
 * @author chenh
 *
 */
public class GetCSMessagesRequest extends RequestDTO{

	private String SESSION_ID;	//对话标识
	
	private String IS_READ;	//已读标记 //1：已读  0：未读   空：全部
	
	@Override
	public boolean isParamValid() {
		if(StringUtil.isEmpty(this.SESSION_ID)
				|| StringUtil.isEmpty(this.getPAGE_INDEX())
				|| StringUtil.isEmpty(this.getPAGE_NUM())) {
			return false;
		}
		return true;
	}

	public String getSESSION_ID() {
		return SESSION_ID;
	}

	public void setSESSION_ID(String sESSION_ID) {
		SESSION_ID = sESSION_ID;
	}



	public String getIS_READ() {
		return IS_READ;
	}

	public void setIS_READ(String iS_READ) {
		IS_READ = iS_READ;
	}

}
